Skip to content

Instantly share code, notes, and snippets.

@hprobotic
hprobotic / clean_my_mac_x_guide.md
Last active May 9, 2024 11:48
CleanMyMac X tutorial
  • 1. Install the trial from https://macpaw.com/cleanmymac
  • 2. Open CleanMyMac then click Action then Authenticate
  • 3. Install the CleanMyMac installer from here, click replace 
  • 4. I didn’t try to open the app. 
  • 5. Run: sudo xattr -r -d com.apple.quarantine /Applications/CleanMyMac\ X.app
  • 6. Run codesign -f -s – –deep /Applications/CleanMyMac\ X.app/ (Check note)
  • 7. Open CleanMyMac

Notes:

@realvjy
realvjy / ChoasLinesShader.metal
Last active May 9, 2024 11:46
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);
@voluntas
voluntas / index.md
Last active May 9, 2024 11:44
Zig 言語リファレンス
  • これは Zig ドキュメント 0.10.1 を DeepL Pro と ChatGPT を利用して翻訳したものです。
    • 一部 master なモノもあります、ごちゃ混ぜです
  • 自分用に翻訳しています
@wjy20030407
wjy20030407 / SER6 Pro Vest 7735HS.md
Last active May 9, 2024 11:44
SER6 Pro Vest 7735HS
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 9, 2024 11:43
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@AlexString
AlexString / InstallPipewireFedora.md
Created December 7, 2021 19:30
Install Pipewire on Fedora

Install Pipewire on Fedora

pactl info to show which audio server is running. In occasions this tends to fail showing Connection failure: connection refused. I think this is saying that there is no connection to an audio server so you'll need to enable manually the service using systemctl. please comment about it if you know more of this.

Install pipewire

If you try installing pipewire without removing pulseaudio you'll get a conflict message complaining about it.

@kelvintaywl
kelvintaywl / split.py
Last active May 9, 2024 11:39
Python Script to split CSV files into smaller files based on number of lines
import csv
import sys
import os
# example usage: python split.py example.csv 200
# above command would split the `example.csv` into smaller CSV files of 200 rows each (with header included)
# if example.csv has 401 rows for instance, this creates 3 files in same directory:
# - `example_1.csv` (row 1 - 200)
# - `example_2.csv` (row 201 - 400)
# - `example_3.csv` (row 401)
@SomajitDey
SomajitDey / freemium_port_forwarding_services.md
Last active May 9, 2024 11:38
A list of free or freemium services for exposing localhost to internet with a public ip
@jmausolf
jmausolf / create_delete_branch.md
Created February 7, 2018 20:53
Create new git branch from terminal

Add new branch

git checkout -b [branch_name]
#add and commit new files
git push -u origin [branch_name]

Add remote upstream for branch

git push --set-upstream origin [branch_name]